<?php


class Movie_model extends Model
{
	function __construct()
	{
		parent::__construct();
	}
	
	function getMovieList($select = '*',$order = ' order by m.Id desc',$page = 0,$num = 0)
	{
		
		$this->setLimit($num);
		$this->setPage($page);
		$this->setOrder($order);
		$this->join("category c","c.CategoryID = m.CategoryID","LEFT");
		return $this->getDataList('movie m',$select);;
	}
	


}
?>